package com.fangcun.common.util;

import org.dozer.DozerBeanMapper;

public class BeanMapper {

	private static DozerBeanMapper dozer = new DozerBeanMapper();

	public static <T> T map(Object source, Class<T> destinationClass) {
		return dozer.map(source, destinationClass);
	}
	public static void copy(Object source, Object destinationObject) {
	    dozer.map(source, destinationObject);
	}
}
